package ui.frame.dialog.panel;

import static constants.GTextbookConstants.Chinese;
import static constants.GTextbookConstants.English;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.border.EtchedBorder;
import javax.swing.border.TitledBorder;

public class TagPanel extends JPanel{

	public TagPanel(String englishName, String chineseName, int language){
		//setLayout(new BorderLayout());
		if(language == English)
			setBorder(new TitledBorder(new EtchedBorder(),englishName));
		if(language == Chinese)
			setBorder(new TitledBorder(new EtchedBorder(),chineseName));	
		
	}
}
